getZ

open fun getZ(@NonNull view: View): Float(source)

The visual z position of this view, in pixels. This is equivalent to the translationZ property plus the current elevation property.

Return

The visual z position of this view, in pixels.

Parameters

view

view for which to get the position.